package com.xxx.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Email {


    @TableId(type = IdType.AUTO)
    private Long id;

    /**保存的名称*/
    private String name;

    @TableField(exist = true)
    private List<String> emails;

    /**主题**/
    private String subject;

    /**内容*/
    private String content;

    /**附件地址*/
    @TableField(exist = true)
    private String filePath;

    @TableLogic
    private Integer deleted;

}
